<?php
require_once("config.php");
require_once("utils.php");
echo "asdf<br>";

$db=new SQLite3($dbfilename);
$results=$db->query("SELECT * FROM item_t;");
$i=0;
while($res = $results->fetchArray(SQLITE3_ASSOC)){
	$item_id = $res['item_id'];
	$pfn = $res['pfn'];
	show_item($item_id,$dbfilename,FALSE); // show only the essential information	
}
echo "bar<br>";

$db->close();
